import { cfunc, post } from '../index'

/**
 * 登录
 */
export function corpLogin(Data, config) {
  return post(Object.assign({}, config, {
    data: {
      Header: {
        CmdCode: 'CorpLogin'
      },
      Data
    }
  }), '/login')
}
